package com.ltu.domain.mp_entity.customize;

import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ltu.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公司
 * </p>
 * 
 * @author 若尘
 * @since 2023-04-14
 */
@Accessors(chain = true)
@TableName("t_company")
@ApiModel(value = "CompanyEntity对象", description = "公司")
public class CompanyEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO)
    private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
		
	}
	
	@ApiModelProperty(value = " company_name:公司名称 ")
	private String companyName;
	@ApiModelProperty(value = " company_addr:公司地址 ")
	private String companyAddr;

	@ApiModelProperty(value = " 小程序appId ")
	private String appId;
	@JsonIgnore
	@ApiModelProperty(value = "  ")
	private String appSecret;

	@ApiModelProperty(value = "")
	private String mchId;
	@JsonIgnore
	private String mchKeyApi2;
	@JsonIgnore
	private String mchKeyApi3;

	@ApiModelProperty(value = " contacts: ")
	private String contacts;
	@ApiModelProperty(value = " user_phone: ")
	private String userPhone;
	@ApiModelProperty(value = " company_avatar: ")
	private String companyAvatar;
	@ApiModelProperty(value = " company_logo: ")
	private String companyLogo;
	@ApiModelProperty(value = " company_email:联系邮箱 ")
	private String companyEmail;
	@JsonIgnore
	@ApiModelProperty(value = " cert_serial_no ")
	private String certSerialNo;
	@ApiModelProperty(value = "请求域名")
	private String accountHost;

	@ApiModelProperty(value = "公司唯一编码")
	private String companyCode;

	@ApiModelProperty(value = " create_time:创建时间 ")
	private Date createTime;
	@ApiModelProperty(value = " update_time:最后一次新时间 ")
	private Date updateTime;

	public String getCompanyCode() {
		return companyCode;
	}

	public CompanyEntity setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
		return this;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getCertSerialNo() {
		return certSerialNo;
	}

	public CompanyEntity setCertSerialNo(String certSerialNo) {
		this.certSerialNo = certSerialNo;
		return this;
	}

	public String getAccountHost() {
		return accountHost;
	}

	public void setAccountHost(String accountHost) {
		this.accountHost = accountHost;
	}

	/**
	 * 公司名称
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * 公司名称
	 */
	public CompanyEntity setCompanyName(String companyName) {
		this.companyName = companyName;
		return this;
	}

	/**
	 * 公司地址
	 */
	public String getCompanyAddr() {
		return companyAddr;
	}

	/**
	 * 公司地址
	 */
	public CompanyEntity setCompanyAddr(String companyAddr) {
		this.companyAddr = companyAddr;
		return this;
	}

	/**
	 * 商户号
	 */
	public String getMchId() {
		return mchId;
	}

	/**
	 * 商户号
	 */
	public CompanyEntity setMchId(String mchId) {
		this.mchId = mchId;
		return this;
	}

	public String getMchKeyApi2() {
		return mchKeyApi2;
	}

	public CompanyEntity setMchKeyApi2(String mchKeyApi2) {
		this.mchKeyApi2 = mchKeyApi2;
		return this;
	}

	public String getMchKeyApi3() {
		return mchKeyApi3;
	}

	public CompanyEntity setMchKeyApi3(String mchKeyApi3) {
		this.mchKeyApi3 = mchKeyApi3;
		return this;
	}

	/**
	 * 
	 */
	public String getContacts() {
		return contacts;
	}

	/**
	 * 
	 */
	public CompanyEntity setContacts(String contacts) {
		this.contacts = contacts;
		return this;
	}

	/**
	 * 
	 */
	public String getUserPhone() {
		return userPhone;
	}

	/**
	 * 
	 */
	public CompanyEntity setUserPhone(String userPhone) {
		this.userPhone = userPhone;
		return this;
	}

	/**
	 * 
	 */
	public String getCompanyAvatar() {
		return companyAvatar;
	}

	/**
	 * 
	 */
	public CompanyEntity setCompanyAvatar(String companyAvatar) {
		this.companyAvatar = companyAvatar;
		return this;
	}

	/**
	 * 
	 */
	public String getCompanyLogo() {
		return companyLogo;
	}

	/**
	 * 
	 */
	public CompanyEntity setCompanyLogo(String companyLogo) {
		this.companyLogo = companyLogo;
		return this;
	}

	/**
	 * 联系邮箱
	 */
	public String getCompanyEmail() {
		return companyEmail;
	}

	/**
	 * 联系邮箱
	 */
	public CompanyEntity setCompanyEmail(String companyEmail) {
		this.companyEmail = companyEmail;
		return this;
	}

	/**
	 * 创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 创建时间
	 */
	public CompanyEntity setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	/**
	 * 最后一次新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * 最后一次新时间
	 */
	public CompanyEntity setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

}
